package com.panghu.mapper;

import com.panghu.entity.ExamManage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 考试管理表 Mapper 接口
 * </p>
 *
 * @author huahua
 * @since 2022-03-19
 */
public interface ExamManageMapper extends BaseMapper<ExamManage> {

    @Select("select paperId from exam_manage order by paperId desc limit 1")
    ExamManage findOnlyPaperId();
}
